Bug 657770 - Write to released memory in gtkdnd-quartz.c
authorKristian Rietveld <kris@gtk.org>
Sun, 25 Sep 2011 00:32:21 +0000 (17:32 -0700)
committerJohn Ralls <jralls@ceridwen.us>
Sun, 9 Oct 2011 17:37:21 +0000 (10:37 -0700)
commit8ad3d2b29656b3af312b752c62ff68e7059fc326
tree6da7183953542a0a8346cc3e9db7c5efb1c36cc0
parentdefdfde99903e2ee93d75c9ad6cdb9aad1713094
Bug 657770 - Write to released memory in gtkdnd-quartz.c

Clear the Drag paste board just before the info->context is released.
This way the GtkDragSourceOwner is released just before the drag context
is and thus can pasteboard:provideDataForType: not accidentally access
an already released drag context
gtk/gtkdnd-quartz.c